const app = {

    state: {
        sidebar: {
            opened: false
        }
    },

    mutations: {
        TOGGLE_SIDEBAR: (state) => {
            state.sidebar.opened = !state.sidebar.opened;
        }
    },

    actions: {
        TOGGLE_SIDEBAR_AC: ({ commit }) => {
            commit('TOGGLE_SIDEBAR');
        }
    }
}


export default app;